package com.jye.rseven.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TzPtCode implements Serializable {
    int id;
    int uId;
    int ptGoodsId;
    String ptCode;
    int ptNumber;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endTime;
    int ptStatus;
    @Transient
    private User user;
}
